//
//  Plugnetwork.h
//  Mokey
//
//  Created by YQ05 on 2018/7/26.
//  Copyright © 2018年 OR Media. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface network : NSURLSession
// 实例方法：－ （返回类型）方法名 参数
-(void) plugGetOn:(NSString*) macid;
-(void) plugGetOff:(NSString*) macid;
- (NSMutableArray *)plugInfoJson;
    
-(void) AppGetHomeBanner;
-(void) itemVcgetJsonData:(NSString*)cate item:(NSString*)item;
-(void) promotionVcgetJsonData:(NSString*)cate item:(NSString*)item;

//POST网络请求
-(void)POSTrequest:(NSString*)urlString type:(NSString *)type senddic:(NSMutableDictionary *)senddic savekey:(NSString*)savekey;

//HET网络请求
-(void)GETInfo:(NSString*)urlString type:(NSString *)type senddic:(NSMutableDictionary *)senddic savekey:(NSString*)savekey;

@end
